package com.campus_information_portal.entity;

import com.campus_information_portal.util.DateJsonType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

/**
 * @Description 这是连表查询：course表和Academy表
 * @author 20155878 鄢前州
 * @create 9:14 2018/5/17
 **/
public class CourseAcademy {
    private String courseName;
    private Integer courseNum;
    private String academyName;
    private Integer courseCredithour;
    private Integer coursePeriod;
    private String courseType;

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Integer getCourseNum() {
        return courseNum;
    }

    public void setCourseNum(int courseNum) {
        this.courseNum = courseNum;
    }

    public String getAcademyName() {
        return academyName;
    }

    public void setAcademyName(String academyName) {
        this.academyName = academyName;
    }

    public Integer getCourseCredithour() {
        return courseCredithour;
    }

    public void setCourseCredithour(Integer courseCredithour) {
        this.courseCredithour = courseCredithour;
    }

    public Integer getCoursePeriod() {
        return coursePeriod;
    }

    public void setCoursePeriod(Integer coursePeriod) {
        this.coursePeriod = coursePeriod;
    }

    public String getCourseType() {
        return courseType;
    }

    public void setCourseType(String courseType) {
        this.courseType = courseType;
    }

    @Override
    public String toString() {
        return "CourseAcademy{" +
                "courseName='" + courseName + '\'' +
                ", courseNum=" + courseNum +
                ", academyName='" + academyName + '\'' +
                ", courseCredithour=" + courseCredithour +
                ", coursePeriod=" + coursePeriod +
                ", courseType='" + courseType + '\'' +
                '}';
    }
}
